package net.lahuobao.finance.entity.paymentrecord;

/**
 * Created by fyu1 on 15/4/7.
 *
 * 	//1待支付,提现申请,2支付成功,3支付失败...10审核通过
 int PAYMENT_RECORD_STATUS_WAITPAY=1;
 int PAYMENT_RECORD_STATUS_SUCCESS=2;
 int PAYMENT_RECORD_STATUS_FAILED=3;
 int PAYMENT_RECORD_STATUS_AUDITED=10;
 int PAYMENT_RECORD_STATUS_WITHDRAW_SUCCESS=16;
 int PAYMENT_RECORD_STATUS_WITHDRAW_AUDIT_REJECT=51;
 int PAYMENT_RECORD_STATUS_WITHDRAW_PAY_REJECT=21;
 */
public enum EPaymentRecordStatus {
    PAYMENT_RECORD_STATUS_WAITPAY {
        public String getName() {
            return "待支付-提现申请";
        }

        public Short getValue() {
            return 1;
        }
    },
    PAYMENT_RECORD_STATUS_SUCCESS {
        public String getName() {
            return "支付成功";
        }

        public Short getValue() {
            return 2;
        }
    },
    PAYMENT_RECORD_STATUS_FAILED {
        public String getName() {
            return "支付失败";
        }

        public Short getValue() {
            return 3;
        }
    },
    PAYMENT_RECORD_STATUS_WITHDRAW_SUCCESS {
        public String getName() {
            return "审核通过";
        }

        public Short getValue() {
            return 10;
        }
    },
    PAYMENT_RECORD_STATUS_AUDITED {
        public String getName() {
            return "提现-后台已审核";
        }

        public Short getValue() {
            return 16;
        }
    },
    PAYMENT_RECORD_STATUS_WITHDRAW_AUDIT_REJECT {
        public String getName() {
            return "提现-后台已驳回";
        }

        public Short getValue() {
            return 51;
        }
    },
    PAYMENT_RECORD_STATUS_WITHDRAW_PAY_REJECT {
        public String getName() {
            return "???";
        }

        public Short getValue() {
            return 21;
        }
    };

    public abstract String getName();

    public abstract Short getValue();


}
